package com.eastshop.seller.vo;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;



/** @author Hibernate CodeGenerator */
public class Region implements Serializable {

    /** identifier field */
    private Integer rid;

    /** nullable persistent field */
    private String rname;

    /** persistent field */
    private com.eastshop.seller.vo.Seller seller;

    /** full constructor */
    public Region(String rname, com.eastshop.seller.vo.Seller seller) {
        this.rname = rname;
        this.seller = seller;
    }

    /** default constructor */
    public Region() {
    }

    /** minimal constructor */
    public Region(com.eastshop.seller.vo.Seller seller) {
        this.seller = seller;
    }

    public Integer getRid() {
        return this.rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getRname() {
        return this.rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public com.eastshop.seller.vo.Seller getSeller() {
        return this.seller;
    }

    public void setSeller(com.eastshop.seller.vo.Seller seller) {
        this.seller = seller;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("rid", getRid())
            .toString();
    }

}
